//
//  MenkNavnigationBar.h
//  MenkNav
//
//  Created by Burn on 2019/6/13.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenkNavnigationBar;


@protocol MenkNavnigationBarProtocol <NSObject>


@required


@optional


- (BOOL)mk_navigationHidden:(MenkNavnigationBar *_Nonnull)navigationBar;
- (BOOL)mk_navigationBottomLine:(MenkNavnigationBar *_Nonnull)navigationBar;

- (UIImage *_Nonnull)mk_navigationBackGroundImage:(MenkNavnigationBar *_Nonnull)navigationBar;
- (UIColor * _Nonnull)mk_navigationBackGroundColor:(MenkNavnigationBar *_Nonnull)navigationBar;
- (UIColor *_Nonnull)mk_navigationLineColor:(MenkNavnigationBar *_Nonnull)navigationBar;

//- (NSMutableAttributedString *_Nonnull)mk_navigationBarTitle:(MenkNavnigationBar *_Nonnull)navigationBar;
- (CGFloat)mk_navigationHeight:(MenkNavnigationBar *_Nonnull)navigationBar;

- (UIView *_Nonnull)mk_navigationBarLeft:(MenkNavnigationBar *_Nonnull)navigationBar;
- (UIView *_Nonnull)mk_navigationBarMid:(MenkNavnigationBar *_Nonnull)navigationBar;
- (UIView *_Nonnull)mk_navigationBarRight:(MenkNavnigationBar *_Nonnull)navigationBar;


@end



NS_ASSUME_NONNULL_BEGIN

@interface MenkNavnigationBar : UIView


@property(weak,nonatomic) id<MenkNavnigationBarProtocol> dataSource;


@property(strong,nonatomic) UIView *leftView;
@property(strong,nonatomic) UIView *midView;
@property(strong,nonatomic) UIView *rightView;
@property(strong,nonatomic) UIView *line;
@property(strong,nonatomic) UIImageView *backGroundImage;
@property(assign,nonatomic) CGFloat height;


@end

NS_ASSUME_NONNULL_END
